# 字典推导
a=[('a',1),('b',2),('c',3),('d',4)]
hashaki={key:value for key,value in a}
print(hashaki)